package com.pro_one.pojo;

import java.io.Serializable;
import java.util.List;

public class OrderAddress implements Serializable {
    private Integer id;//机构id
    private String name;//机构名称
    private String telephone;//手机号
    private String latitude;//纬度
    private String img;//图片名称
    private String address;//地址名称
    private List<Order> orders;//地址对应的所有预约信息

    @Override
    public String toString() {
        return "OrderAddress{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", telephone='" + telephone + '\'' +
                ", latitude='" + latitude + '\'' +
                ", img='" + img + '\'' +
                ", address='" + address + '\'' +
                ", orders=" + orders +
                '}';
    }

    public List<Order> getOrders() {
        return orders;
    }

    public void setOrders(List<Order> orders) {
        this.orders = orders;
    }

    public OrderAddress(Integer id, String name, String telephone, String latitude, String img, String address, List<Order> orders) {
        this.id = id;
        this.name = name;
        this.telephone = telephone;
        this.latitude = latitude;
        this.img = img;
        this.address = address;
        this.orders = orders;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public OrderAddress(Integer id, String name, String telephone, String latitude, String img, String address) {
        this.id = id;
        this.name = name;
        this.telephone = telephone;
        this.latitude = latitude;
        this.img = img;
        this.address = address;
    }

    public OrderAddress() {
    }
}
